<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:pe="http://primefaces.org/ui/extensions">

<h:head>
	<link href="css/layout.css" rel="stylesheet" type="text/css" />
</h:head>

<h:body>
	<ui:debug />
	<ui:include src="menu.xhtml" />
	<div align="center">
		<h:form id="formPrincipal" prependId="false">
			<p:panel header="Ficha de Orientação de TCC" style="width: 550px">
				<p:messages />
				<h:panelGrid columns="3">
					<p:column>
						<h:outputText style="font-size: 14px; color: white;" value="RA: " />
						<p:inputMask mask="9999999" id="Ra" required="true"
							value="#{tccBean.aluno.ra}" size="10" />
					</p:column>
					<p:column>
						<p:selectOneMenu id="Turno" value="#{tccBean.turno}"
							required="true" label="Turno">
							<f:selectItem itemLabel="Escolha ..." itemValue=""
								noSelectionOption="true" />
							<f:selectItem itemLabel="Matutino" itemValue="Matutino" />
							<f:selectItem itemLabel="Vespertino" itemValue="Vespertino" />
							<f:selectItem itemLabel="Noturno" itemValue="Noturno" />
						</p:selectOneMenu>
						<p:message for="Turno" />
					</p:column>
					<p:column style="max-width:10px;">
						<p:lightBox iframe="true" id="lighbox3">
							<h:outputLink action="#{tccBean.downloadPdf}" 
								value="#{tccBean.caminho}"
								title="PrimeFaces HomePage">
								<h:outputText value="PrimeFaces HomePage" />
							</h:outputLink>
						</p:lightBox>
					</p:column>
				</h:panelGrid>
			</p:panel>
		</h:form>
	</div>
</h:body>
</html>